package com.yf.dmp.dao;

import com.yf.dmp.bean.TableMap;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TableMapDao {
    public List<TableMap> getTableMap(@Param("from_table") String code, @Param("pageStart") int pageStart, @Param("pageSize") int pageSize);
    public int addTableMap(TableMap tm);
    public int getTableMapCount(@Param("from_table") String code);
    public int deleteTableMapById(@Param("id") int id);
    public TableMap getUpdateTableMap(@Param("id") int id);
    public int updateTableMap(TableMap tm);
}
